package org.ccf.certified.business.shiro.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.ccf.certified.business.base.BaseModel;

/**
 * @author LiuFang
 * @date 2022/1/12
 */
@Data
@TableName("sys_role")
public class Role extends BaseModel {

    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    /**角色名称*/
    private String name;
    /**角色key*/
    private String code;
    /**角色描述*/
    private String des;
    /**父角色ID*/
    private Long pId;
    /**排序编号*/
    private Integer sortNo;
    /**是否启用(1有效 2无效)*/
    private Integer enabled;

}
